package com.es.www.kyl.bean.res.web;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Estranger
 * @date 2025/7/31
 * description
 */
@Data
public class QuestionListVO implements Serializable {


	private static final long serialVersionUID = 4244953292049910689L;

	@ApiModelProperty(value = "题目ID")
	private Integer id;

	@ApiModelProperty(value = "题目内容")
	private String title;

	@ApiModelProperty(value = "题目类型 1: 单选；2: 多选；3: 填空；4: 判断；")
	private String type;

	@ApiModelProperty(value = "题目图片")
	private String questionImage;

	@ApiModelProperty(value = "题目视频")
	private String questionVideo;

	@ApiModelProperty(value = "一级分类ID")
	private Integer firstCategoryId;

	@ApiModelProperty(value = "二级分类ID")
	private Integer secondCategoryId;

	@ApiModelProperty(value = "选项")
	private List<QuestionOptionVO> questionOptionList;

	@ApiModelProperty(value = "解析")
	private List<QuestionAnalysisVO> analysisList;

	@ApiModelProperty(value = "创建人ID")
	private Integer createBy;

	@ApiModelProperty(value = "创建人名称")
	private String createName;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	@ApiModelProperty(value = "是否公开 true: 公开")
	private Boolean open;

	@ApiModelProperty(value = "题目状态")
	private Integer status;

}
